package com.woniu.sharepark.platformsystem.service.impl;

import com.woniu.sharepark.common.JsonResult;
import com.woniu.sharepark.common.dao.LoginDAO;
import com.woniu.sharepark.common.dao.UserInfoDAO;
import com.woniu.sharepark.constant.SystemConstant;
import com.woniu.sharepark.platformsystem.dao.VoucherDAO;
import com.woniu.sharepark.platformsystem.pojo.Voucher;
import com.woniu.sharepark.platformsystem.service.VoucherService;
import com.woniu.sharepark.util.DesUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

/**
 * @author DELL
 * @date 2019/6/12 23:58
 * version v1.0
 */
@Service
public class VoucherServiceImpl implements VoucherService {

    @Autowired
    private VoucherDAO voucherDAO;

    @Override
    public List findVouchers(Integer uId) {
        return voucherDAO.findVouchers(uId);
    }

}
